{% extends "../layout.html" %}

{% block content %}
<div class="dy-wrapper">
  <form action="/backend/config/edit" method="post" class="needs-validation" novalidate>
    <div class="row mb-3">
      <label for="name" class="col-sm-2 col-form-label text-end">网站名称</label>
      <div class="col-sm-10 position-relative">
        <input type="text" class="form-control" id="name" name="name" value="{{ data.name }}" placeholder="请输入网站名称" required />
        <div class="invalid-tooltip">网站名称必须填写</div>
      </div>
    </div>
    <div class="row mb-3">
      <label for="seo_title" class="col-sm-2 col-form-label text-end">SEO标题</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" id="seo_title" name="seo_title" value="{{ data.seo_title }}" placeholder="请输入SEO标题" />
      </div>
    </div>
    <div class="row mb-3">
      <label for="seo_keywords" class="col-sm-2 col-form-label text-end">SEO关键字</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" id="seo_keywords" name="seo_keywords" value="{{ data.seo_keywords }}" placeholder="请输入SEO关键字" />
      </div>
    </div>
    <div class="row mb-3">
      <label for="seo_description" class="col-sm-2 col-form-label text-end">SEO描述</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" id="seo_description" name="seo_description" value="{{ data.seo_description }}" placeholder="请输入SEO描述" />
      </div>
    </div>
    <div class="row mb-3">
        <label class="col-sm-2 col-form-label"></label>
        <div class="col-sm-10">
            <button type="submit" class="btn btn-sky-blue">保存</button>
        </div>
    </div>
  </form>
</div>
{% endblock %}